package com.zjj.lbw.spiringbootstu.user.controller;

import com.zjj.lbw.spiringbootstu.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhanglei.zjj
 * @description 手写springboot测试controller
 * @date 2023/6/24 10:08
 */
@RestController
public class UserController {
    @Autowired
    private UserService userService;

    @GetMapping("test")
    public String test(){
        return userService.test();
    }
}
